<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Dashboard Layout</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Arial, sans-serif;
            background-color: #2a3b4c;
            color: #fff;
        }

        .dashboard {
            display: grid;
            grid-template-columns: 2fr 3fr 2fr;
            /* grid-template-rows: repeat(3, 1fr); */
            gap: 10px;
            padding: 20px;
        }

        .dashboard-header div:last-child {
            font-size: 16px;
            align-self: flex-end;
        }

        .dashboard-header {
            height: 80px;
            color: #fff;
            font-size: 34px;
            font-weight: bold;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0px 10px;
        }

        .sales-trend {
            background: #33475b;
            padding: 5px;
            border-radius: 8px;
        }

        h2 {
            font-size: 18px;
            margin-bottom: 10px;
        }

        .chart {
            background: #2a3b4c;
            height: 200px;
            border-radius: 8px;
        }

        .left {
            display: flex;
            flex-direction: column;
        }

        .left div {
            margin-bottom: 10px;
        }

        .left .chart {
            height: 250px;
        }

        .center .chart {
            display: flex;
            flex-direction: column;
            height: 575px;
        }

        .center .chart .top {
            flex: 1.5;
        }

        .center .chart .bottom {
            flex: 1;
        }
    </style>
</head>

<body>
    <div class="dashboard-header">
        <div><img src="http://8.138.119.204:8081/static/img/logo1.png" alt=""></div>
        <div>电商平台实时监控系统</div>
        <div>2024-12-21 17:59:20</div>
    </div>
    <div class="dashboard">
        <div class="left">
            <div class="sales-trend">
                <!-- <h2>地区销量趋势</h2> -->
                <div class="chart areachart">图表占位符</div>
            </div>
            <div class="sales-trend">
                <!-- <h2>地区销量趋势</h2> -->
                <div class="chart xzz">图表占位符</div>
            </div>
        </div>

        <div class="center">
            <div class="sales-trend">
                <h2>商户分布与销售排行</h2>
                <div class="chart">
                    <div class="top">
                        图表占位符
                     </div>
                    <div class="bottom bt1">
                        图表占位符1
                    </div>
                </div>

            </div>
        </div>
        <div class="left">
            <div class="sales-trend">
                <h2>热销商品销售金额占比统计</h2>
                <div class="chart">图表占位符</div>
            </div>
            <div class="sales-trend">
                <h2>库存销售量</h2>
                <div class="chart ybp">图表占位符</div>
            </div>
        </div>

    </div>

    <script src="./lib/axios.js"></script>
    <script src="./lib/echarts.min.js"></script>
    <script src="./js/keshihua.js"></script>
    <script src="./js/pxmu.js"></script>

</body>

</html>